-- card: 10206 from stack: in -- bmap block id: 10307 -- flags: 4000 -- background id: 7338 -- name: Section of a Sphere ----- HyperTalk script ----- on mouseUp set numberFormat to <0.000000> --Calculate Surface Area of Section get((pi*card field "Radius"^2)/90)*card field "Degrees" put it into card field "Surface Area of Section" --Calculate Volume get ((pi*card field "Radius"^3)/270)*card field "Degrees" put it into card field "Volume" end mouseUp -- part 1 (field) -- low flags: 00 -- high flags: 0002 -- rect: left=312 top=96 right=114 bottom=459 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 3 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Radius -- part 2 (field) -- low flags: 00 -- high flags: 0002 -- rect: left=312 top=119 right=137 bottom=444 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 3 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Degrees -- part 3 (field) -- low flags: 01 -- high flags: 0004 -- rect: left=319 top=175 right=194 bottom=448 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Surface Area of Section -- part 4 (field) -- low flags: 01 -- high flags: 0004 -- rect: left=319 top=213 right=232 bottom=448 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Volume -- part contents for card part 3 ----- text ----- 0.785398 -- part contents for card part 1 ----- text ----- .500000 -- part contents for card part 2 ----- text ----- 90.000000 -- part contents for card part 4 ----- text ----- 0.130900